Query Rewriting using Semistructured Views

نویسندگان

  • Yannis Papakonstantinou
  • Vasilis Vassalos
چکیده

We consider the problem of rewriting semistructured queries using semistructured views. Given a client semistructured positive non-recursive query and a set of semistructured views, the algorithm nds a rewriting query that is equivalent to the client query and accesses only the views. Our solution is based on appropriately generalizing well understood techniques such as containment mappings and the chase. Furthermore, we develop an equivalence testing algorithm for checking the equivalence of the client query against the composition of the rewriting query with the views. We prove that our algorithm is sound and complete. Finally we investigate a specialized polynomial algorithm for composing the rewritten query with the views, based on which we can show that the semistructured query rewriting problem is NP-complete; i.e., it is no harder than the rewriting problem for conjunctive queries. Research partially sponsored by NSF, under Award Number IRI-9712239, and the Wright Laboratory, Aeronautical Systems Center, Air Force Material Command, USAF, under Grant Number F33615-93-1-1339. Research partially supported by NSF grant IRI{96{31952, ARO grant DAAH04{95{1{0192, Air Force contract F33615{93{1{1339 and the L. Voudouri Foundation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Optimization Technique for Answering Regular Path Queries

Rewriting queries using views is a powerful technique that has applications in data integration, data warehousing and query optimization. Query rewriting in relational databases is by now rather well investigated. However, in the framework of semistructured data the problem of rewriting has received much less attention. In this paper we identify some di culties with currently known methods for ...

متن کامل

Views for Semistructured

Deening a view over a semistructured database introduces many new problems. In this paper we propose a view speciication language and consider the problem of answering queries posed over views. The two main approaches, query rewriting and view materialization, are outlined with focus on the diicult problems caused by the semistructured nature of the data.

متن کامل

Views for Semistructured Data

De ning a view over a semistructured database introduces many new problems. In this paper we propose a view speci cation language and consider the problem of answering queries posed over views. The two main approaches, query rewriting and view materialization, are outlined with focus on the di cult problems caused by the semistructured nature of the data.

متن کامل

Aspects of Rewriting Queries on Semistructured Data

Rewriting queries using materialized views has been widely studied in recent years, although most of the work has been done based on relational models. We are interested in determining what aspects need to be considered when dealing with semistructured data. For concreteness and motivation, our underlying data model is LDAP, the well-known lightweight directory access protocol of the internet. ...

متن کامل

Algebraic Rewritings for Optimizing Regular Path Queries

Rewriting queries using views is a powerful technique that has applications in query op timization data integration data warehousing etc Query rewriting in relational databases is by now rather well investigated However in the framework of semistructured data the problem of rewriting has received much less attention In this paper we focus on extracting as much information as possible from algeb...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999